<template>
  <el-card>
    <template #header>
      <div class="card-header">
        <slot name="title"></slot>
        <slot name="button"></slot>
      </div>
    </template>
    <slot></slot>
  </el-card>
</template>
<style scoped>
.el-card {
  width: 98%;
  height: 90%;
  margin:.4375rem  0rem auto;
  /* background-color: pink; */
}
.card-header {
  font-size:.3125rem;
  display: flex;
  justify-content: space-between;
}
</style>
